package com.mapper;

import com.pojo.Address;

import java.util.List;

public interface AddressMapper {
    //确认地址
    public List<Address> selectByuserId(long userId);
    //添加新地址 返回地址id
    public int insert(Address address);

    //根据地址id查询地址信息
    public Address selectAddressById(long id);
}
